import React from 'react';
import './index.less'

export interface BaseLoginProps  {
  backgroundUrl?:string
  footer?:React.ReactNode
  copyright?:string
  links?:any[]
  children?:any
}

const BaseLogin = ({ children,backgroundUrl }:BaseLoginProps) => {
  const style:any ={};
  if(backgroundUrl){
    style.backgroundImage = `url(${backgroundUrl})`
  }
  return (

    <div className='base-theme-container' style={style}>
      <div className='base-theme-panel'>
        {children}
      </div>
    </div>
  )
}
export default BaseLogin